package com.system.demo.mapper;

import com.system.demo.doMain.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    User findUser(@Param("name") String name,@Param("password") String password);

    List<User>list();

    int save(User user);

    User findUserByName(@Param("name") String name);
}
